package mywork.lianxi_2.xiti_2;

public abstract class Car {

	private String id;
	private String name;
	private String sex;
	private String birthday;
	
	public Car(String id,String name,String sex,String birthday){
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public abstract void showInfo();
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
